package main

import (
	"fmt"
	"unicode/utf8"
)

func main() {
	const s = "สวัสดี"

	fmt.Println("len", len(s))
	for i := 0; i < len(s); i++ {
		fmt.Printf("%x", s[i])

	}
	fmt.Println()

	fmt.Println("rune count", utf8.RuneCountInString(s))

	for I, v := range s {
		fmt.Printf("%#U STARTS AT %D\n", I, v)
	}

	fmt.Println("\nUsing ,decoderutlrUneString")
}
